/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entities;

import java.sql.Date;

/**
 *
 * @author Hung
 */
public class Project {
    private int idProject;
    private String name;
    private Date startDate;
    private Date finishDate;
    private String descriptions;
    private ProjectType idProjectType;
    private boolean isActived;

    public Project() {
    }

    public Project(String name, Date startDate, Date finishDate, String descriptions, ProjectType idProjectType, boolean isActived) {
        this.name = name;
        this.startDate = startDate;
        this.finishDate = finishDate;
        this.descriptions = descriptions;
        this.idProjectType = idProjectType;
        this.isActived = isActived;
    }

    /**
     * @return the idProject
     */
    public int getIdProject() {
        return idProject;
    }

    /**
     * @param idProject the idProject to set
     */
    public void setIdProject(int idProject) {
        this.idProject = idProject;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the starDate
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * @param starDate the starDate to set
     */
    public void setStartDate(Date starDate) {
        this.startDate = starDate;
    }

    /**
     * @return the finishDate
     */
    public Date getFinishDate() {
        return finishDate;
    }

    /**
     * @param finishDate the finishDate to set
     */
    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    /**
     * @return the descriptions
     */
    public String getDescriptions() {
        return descriptions;
    }

    /**
     * @param descriptions the descriptions to set
     */
    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }

    /**
     * @return the idProjectType
     */
    public ProjectType getIdProjectType() {
        return idProjectType;
    }

    /**
     * @param idProjectType the idProjectType to set
     */
    public void setIdProjectType(ProjectType idProjectType) {
        this.idProjectType = idProjectType;
    }

    /**
     * @return the isActived
     */
    public boolean isIsActived() {
        return isActived;
    }

    /**
     * @param isActived the isActived to set
     */
    public void setIsActived(boolean isActived) {
        this.isActived = isActived;
    }
    
}
